package com.powerunion.datacollection.model.jsonObject;

import java.util.List;

/**
 * 流程的环节信息
 * @author qyw
 *
 */
public class ActivityInfoTreeNode {
	
	//ID 对应流程的id
	private String procId;
	//环节ID
	private String activityId;
	//环节名称
	private String activityName;
	//上一个环节的ID 在流程定义树中对应子节点 因为本系统中的流程走向是从叶子节点开始上报数据的
	//父节点id
	//private String _parent;
	//环节类型 分为采集环节(2)，审批环节(1)和发起人环节(0) 
	private int activityType;
	//当环节类型为采集环节的时候值为填报类型，当环节为审批环节的时候值为审批的类型
	private int fillTypeOrapproveType;
	//当环节类型为采集环节的时候值为填报数据的处理时限，当环节为审批环节的时候值为审批的时限
	private String timeLimit;
	//当环节类型为采集环节的时候值为填报数据的催办时限，当环节为审批环节的时候值为具有审批权限的用户id
	private String approveUserOrurgencyDate;
	//审批人姓名
	private String approveUserName;
	//当环节类型为采集环节的时候值为采集人的id，当环节为审批环节的时候值为具有浏览权限的用户id
	private String  examineUserOrcollectionUser;
	//采集人姓名
	private String examineUserOrcollectionUserName;
	//当环节类型为采集环节的时候值为采集人的用户类型，当环节为审批环节的时候值为具有浏览权限的用户类型
	private String examineUserOrcollectionUserTypes;
	//环节描述信息
	private String description;
	//子环节
	private List children;

	
	public int getActivityType() {
		return activityType;
	}
	public void setActivityType(int activityType) {
		this.activityType = activityType;
	}
	public String getTimeLimit() {
		return timeLimit;
	}
	public void setTimeLimit(String timeLimit) {
		this.timeLimit = timeLimit;
	}
	public String getApproveUserOrurgencyDate() {
		return approveUserOrurgencyDate;
	}
	public void setApproveUserOrurgencyDate(String approveUserOrurgencyDate) {
		this.approveUserOrurgencyDate = approveUserOrurgencyDate;
	}
	public String getExamineUserOrcollectionUser() {
		return examineUserOrcollectionUser;
	}
	public void setExamineUserOrcollectionUser(String examineUserOrcollectionUser) {
		this.examineUserOrcollectionUser = examineUserOrcollectionUser;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getActivityId() {
		return activityId;
	}
	public void setActivityId(String activityId) {
		this.activityId = activityId;
	}
	public String getActivityName() {
		return activityName;
	}
	public void setActivityName(String activityName) {
		this.activityName = activityName;
	}
	public List getChildren() {
		return children;
	}
	public void setChildren(List children) {
		this.children = children;
	}

	public int getFillTypeOrapproveType() {
		return fillTypeOrapproveType;
	}
	public void setFillTypeOrapproveType(int fillTypeOrapproveType) {
		this.fillTypeOrapproveType = fillTypeOrapproveType;
	}
	public String getProcId() {
		return procId;
	}
	public void setProcId(String procId) {
		this.procId = procId;
	}
	public String getExamineUserOrcollectionUserTypes() {
		return examineUserOrcollectionUserTypes;
	}
	public void setExamineUserOrcollectionUserTypes(
			String examineUserOrcollectionUserTypes) {
		this.examineUserOrcollectionUserTypes = examineUserOrcollectionUserTypes;
	}
	public String getApproveUserName() {
		return approveUserName;
	}
	public void setApproveUserName(String approveUserName) {
		this.approveUserName = approveUserName;
	}
	public String getExamineUserOrcollectionUserName() {
		return examineUserOrcollectionUserName;
	}
	public void setExamineUserOrcollectionUserName(
			String examineUserOrcollectionUserName) {
		this.examineUserOrcollectionUserName = examineUserOrcollectionUserName;
	}
//	public String get_parent() {
//		return _parent;
//	}
//	public void set_parent(String _parent) {
//		this._parent = _parent;
//	}
	
}
